package com.mryin.pojo;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author MrYin
 * @since 2021-02-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("mryin_employees")
@ApiModel(value="Employees对象", description="")
public class Employees implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户ID")
    @TableId(value = "US_ID", type = IdType.AUTO)
    private Integer usId;

    @ApiModelProperty(value = "工号")
    @TableField("US_CODE")
    private String usCode;

    @ApiModelProperty(value = "密码")
    @TableField("US_PASSWORD")
    private String usPassword;

    @ApiModelProperty(value = "密码盐值")
    @TableField("US_SALT")
    private String usSalt;

    @ApiModelProperty(value = "员工头像")
    @TableField("US_AVATAR")
    private String usAvatar;

    @ApiModelProperty(value = "员工部门名称")
    @TableField("US_DEPT_ID")
    private String usDeptId;

    @ApiModelProperty(value = "员工姓名")
    @TableField("US_NAME")
    private String usName;

    @ApiModelProperty(value = "英文名")
    @TableField("US_ENG_NAME")
    private String usEngName;

    @ApiModelProperty(value = "身份证号")
    @TableField("US_IDCARD_NO")
    private String usIdcardNo;

    @ApiModelProperty(value = "手机号")
    @TableField("US_MOBILE_PHONE")
    private String usMobilePhone;

    @ApiModelProperty(value = "公司短号")
    @TableField("US_PHONE")
    private String usPhone;

    @ApiModelProperty(value = "邮箱")
    @TableField("US_EMAIL")
    private String usEmail;

    @ApiModelProperty(value = "薪资")
    @TableField("US_SALARY")
    private BigDecimal usSalary;

    @ApiModelProperty(value = "薪资卡")
    @TableField("US_SALARY_CARD_NO")
    private String usSalaryCardNo;

    @ApiModelProperty(value = "性别")
    @TableField("US_GENDER")
    private String usGender;

    @ApiModelProperty(value = "状态")
    @TableField("US_STATUS")
    private String usStatus;

    @ApiModelProperty(value = "学历")
    @TableField("US_EDUCATION")
    private String usEducation;

    @ApiModelProperty(value = "生日")
    @TableField("US_BIRTHDAY")
    private Date usBirthday;

    @ApiModelProperty(value = "登录次数")
    @TableField("US_LOADTICE")
    private Integer usLoadtice;

    @ApiModelProperty(value = "登录时长")
    @TableField("US_ONLINE_TIME")
    private Date usOnlineTime;

    @ApiModelProperty(value = "登入时间")
    @TableField("US_LOAD_TIME")
    private Date usLoadTime;

    @ApiModelProperty(value = "登出时间")
    @TableField("US_LEAVE_TIME")
    private Date usLeaveTime;

    @ApiModelProperty(value = "软件版本")
    @TableField("US_Apprevision")
    private String usApprevision;

    @ApiModelProperty(value = "乐观锁")
    @TableField("US_REVISION")
    private Integer usRevision;

    @ApiModelProperty(value = "创建人")
    @TableField("US_CREATED_BY")
    private String usCreatedBy;

    @ApiModelProperty(value = "创建时间")
    @TableField("US_CREATED_TIME")
    private Date usCreatedTime;

    @ApiModelProperty(value = "更新人")
    @TableField("US_UPDATED_BY")
    private String usUpdatedBy;

    @ApiModelProperty(value = "更新时间")
    @TableField("US_UPDATED_TIME")
    private Date usUpdatedTime;


}
